# -*- coding:utf-8 -*-
import json
class newStyle(object):
    def __init__(self,name,age,weight):
        self.name = name
        self.age = age
        self.__weight = weight
    def get_weight(self):
        return self.__weight

if __name__=="__main__":
    newClass = newStyle('张三','25','30')
    print newClass.get_weight()
    print newClass.name
    print newClass.age